package cn.stylefeng.guns.modular.transport.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 运输费用表
 * </p>
 *
 * @author zhucx
 * @since 2021-07-31
 */
@Data
@TableName("transport_cost")
public class TransportCost implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 运输单号
     */
    @TableField("dispatch_number")
    private String dispatchNumber;

    /**
     * 费用名称
     */
    @TableField("price_name")
    private String priceName;

    /**
     * 计价方式
     */
    @TableField("price_mode")
    private String priceMode;

    /**
     * 单价
     */
    @TableField("price")
    private String price;

    /**
     * 总量
     */
    @TableField("nums")
    private String nums;

    /**
     * 金额
     */
    @TableField("money")
    private String money;

    /**
     * 线路id
     */
    @TableField("line_id")
    private Long lineId;

    /**
     * 线路名称
     */
    @TableField("line_name")
    private String lineName;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 货运订单号
     */
    @TableField("v1")
    private String v1;

    /**
     * 分拆运费
     */
    @TableField("v2")
    private String v2;

    /**
     *起步点数
     */
    @TableField("v3")
    private String v3;

    /**
     *超点费用
     */
    @TableField("v4")
    private String v4;

    @Override
    public String toString() {
        return "TransportCost{" +
        "id=" + id +
        ", dispatchNumber=" + dispatchNumber +
        ", priceName=" + priceName +
        ", priceMode=" + priceMode +
        ", price=" + price +
        ", nums=" + nums +
        ", money=" + money +
        ", lineId=" + lineId +
        ", lineName=" + lineName +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        "}";
    }
}
